﻿using System;
using System.ServiceModel;

namespace OCXS.OCXSServiceLibrary.OPCXMLDA10 {

    [MessageContract(
        WrapperName = "SubscriptionCancel", 
        WrapperNamespace = "http://opcfoundation.org/webservices/XMLDA/1.0/", 
        IsWrapped = true)]
    public class SubscriptionCancelRequest {

        [MessageBodyMember(Name = "ServerSubHandle", Order = 0)]
        public string ServerSubHandle;

        [MessageBodyMember(Name = "ClientRequestHandle", Order = 1)]
        public string ClientRequestHandle;

        public SubscriptionCancelRequest() {
        }

        public SubscriptionCancelRequest(string ServerSubHandle, string ClientRequestHandle) {
            this.ServerSubHandle = ServerSubHandle;
            this.ClientRequestHandle = ClientRequestHandle;
        }
    }
}
